package com.hongyi.mapper;

import com.hongyi.dto.TeacherDto;
import com.hongyi.pojo.Dep;
import com.hongyi.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author hongyi
 * @date 2023/11/22 21:08
 */

@Mapper
public interface TeacherMapper {
   //TeacherDto queryOneTeacher(Long id);

   void insertOneTeacher(Teacher teacher);

   List<TeacherDto> queryOneTeacher(@Param("id") Long id);
}

